package org.example.petitionplatformsystem.dao;

import org.example.petitionplatformsystem.dao.model.LeaderMailbox;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LeaderMailboxRepository extends JpaRepository<LeaderMailbox, Long> {



    List<LeaderMailbox> findByUserID(Long userID);
}
